export function configLayer() {
  return {
    name: "图层样式",
    layout: [],
    paint: [
      {
        label: "线段颜色",
        prop: "line-color",
        default: "rgb(26,252,105)",
        component: {
          name: "n-color-picker",
        },
      },

      {
        label: "线段宽度",
        prop: "line-width",
        default: 4,
        component: {
          name: "n-input-number",
          props: {
            min: 1,
          },
        },
      },
    ],
  };
}
